<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Welcome</title>
    <script src="/Servlet/jQuery/jquery-3.6.0.js"></script>
    <script>
        $(function () {
            window.alert("aaa");
            $("#b1").click(function () {
                window.alert("bbb");
                $.ajax({
                    method:"get",
                    url:"/Servlet/stu/findAll.do",
                })
            });

        })
    </script>
</head>
<body>
<h4>欢迎！！！</h4>
<button id="b1">查询</button>

</body>
</html>